#import <Cocoa/Cocoa.h>


@interface RNHistoryItemCell : NSTextFieldCell {
    NSBezierPath *heartPath_;
    NSBezierPath *notesPath_;
    NSNumber *count_;
    NSString *notes_;
    NSArray *tags_;
    NSNumber *favorite_;
    NSDate *loggedDate_;
    NSDictionary *loggedDateAttributes_;
    NSDictionary *titleAttributes_;
    NSDictionary *tagAttributes_;
}

@property (nonatomic, retain) NSBezierPath *heartPath;
@property (nonatomic, retain) NSBezierPath *notesPath;
@property (nonatomic, retain) NSNumber *count;
@property (nonatomic, copy) NSString *notes;
@property (nonatomic, retain) NSArray *tags;
@property (nonatomic, retain) NSNumber *favorite;
@property (nonatomic, retain) NSDate *loggedDate;
@property (nonatomic, retain) NSDictionary *loggedDateAttributes;
@property (nonatomic, retain) NSDictionary *tagAttributes;
@property (nonatomic, retain) NSDictionary *titleAttributes;

-(NSRect)tagsRectForBounds:(NSRect)cellFrame;
-(NSRect)favoriteRectForBounds:(NSRect)cellFrame;
-(NSRect)notesRectForBounds:(NSRect)cellFrame;
-(void)drawTagsInRect:(NSRect)tagRect;
-(NSRect)loggedDateFrameForCellFrame:(NSRect)cellFrame withAttributedString:(NSAttributedString *)loggedDateAttributedString;

@end
